/**
 * @author MIAO
 * Created on 2011-11-5
 * For more information, please visit:ismiao.com
 */
package com.ismiao.spring.aopExample;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class MyAroundAdvice implements MethodInterceptor {

	@Override
	public Object invoke(MethodInvocation invocation) throws Throwable {
	System.out.println("around start");
	Object obj = invocation.proceed();// 让它去执行目标方法
	System.out.println("around end");
	return obj;
	}

}
